import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';

class ZsnVolume extends StatefulWidget {
  final VideoPlayerController controller;
  const ZsnVolume({super.key, required this.controller});

  @override
  State<ZsnVolume> createState() => _ZsnVolumeState();
}

class _ZsnVolumeState extends State<ZsnVolume> {
  bool isItSilent = false;

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    // 声音按钮
    return IconButton(
        onPressed: () {
        
        },
        icon: Icon(
          isItSilent ? Icons.volume_off : Icons.volume_up,
          color: Colors.white,
        ));
  }
}
